package org.apache.cordova.api;

import java.util.concurrent.ExecutorService;

public interface CordovaInterface {

	Object onMessage(String id, Object data);

    /**
     * Returns a shared thread pool that can be used for background tasks.
     */
    public ExecutorService getThreadPool();
}
